package com.fbn;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;

@RooJavaBean
@RooToString
@RooEntity
public class FlightSeat {

    @NotNull
    private int id;
    
    @ManyToOne
    Flight flight;
    
    @ManyToOne
    Seat seat;
}
